





namespace Hotpot.Infrastructure.XmlRpc
{
    public class XmlRpcFilterCriteria : IFilterCriteria
    {
        public bool Match(FilterRegistryContext context)
        {
            return context.ControllerContext.RouteData.DataTokens.ContainsKey("IsXmlRpc") && ((bool)context.ControllerContext.RouteData.DataTokens["IsXmlRpc"]);
        }
    }
}
